#ifndef HISTORYENTRY_H_
#define HISTORYENTRY_H_

#include <wx/string.h>
#include "../Buddy.h"
#include "DBType.h"

class Buddy;

namespace Impp
{

class HistoryEntry
{
private:
	db_id id;
	wxDateTime time;
	Buddy* buddy;
	wxString msg;
	bool out;

public:
	HistoryEntry(const db_id  & id, const wxDateTime & time, Buddy* buddy,const wxString & msg, bool out);
	virtual ~HistoryEntry();

	wxDateTime getTime();
	Buddy* getBuddy();
	wxString getMsg();
	bool isOutgoing();
	db_id getId();

};

}

#endif /*HISTORYENTRY_H_*/
